package com.example.tijian_doctor_backend.dto;

import com.example.tijian_doctor_backend.pojo.Hospital;
import com.example.tijian_doctor_backend.pojo.Setmeal;
import com.example.tijian_doctor_backend.pojo.Users;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author: bong~
 * @description: TODO
 * @date: 2024/6/20 12:23
 * @version: 1.0
 */

@Data
@NoArgsConstructor

public class OrdersResponseDTO {

    private Integer orderId;
    private String userId;

    private String usersRealName;

    private Integer usersSex;

    private String setmealName;

    private Integer smId;

    private String hospitalName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date orderDate;

    private Integer state;


}
